package megajournal.domain;

/**
 *
 * @author cska
 *
 */

public class Skip {

    private Long id;
    private int first;
    private int second;
    private Lesson lesson;
    private Student student;
    private int cause;

    public Skip() {
    }

    public Skip(int first, int second, Lesson lesson, Student student, int cause) {
        this.first = first;
        this.second = second;
        this.lesson = lesson;
        this.student = student;
        this.cause = cause;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setFirst(int first) {
        this.first = first;
    }

    public void setSecond(int second) {
        this.second = second;
    }

    public void setLesson(Lesson lesson) {
        this.lesson = lesson;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public void setCause(int cause) {
        this.cause = cause;
    }

    public Long getId() {
        return id;
    }

    public int getFirst() {
        return first;
    }

    public int getSecond() {
        return second;
    }

    public Lesson getLesson() {
        return lesson;
    }

    public Student getStudent() {
        return student;
    }

    public int getCause() {
        return cause;
    }

}
